.panel {
  border: none;
}

.lt-ie9 .panel {
  border: 1px solid @gray-light;
}

// 即将弃用
.panel-col {
  min-height: 400px;
}

.panel-default {
  padding: 0 15px;
  .es-box-shadow;
  >.panel-heading {
    position: relative;
    font-size: 16px;
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid @gray-lighter;
    .panel-title {
      >i {
        display: none;
        // float: left;
        // vertical-align: middle;
        // margin-right: 10px;
      }
    }
    .more {
      position: absolute;
      top: 13px;
      right: 0;
      display: block;
      color: @gray;
      .es-transition;
      &:hover {
        color: @gray-dark;
        .es-transition;
      }
    }
    .panel-bar {
      position: absolute;
      top: 7px;
      right: 0;
      display: block;
    }
  }
  >.panel-footer {
    padding: 15px 0;
    background: none;
  }
  >.panel-body {
    position: relative;
    padding: 15px 0;
  }
}

.panel-primary {
  >.panel-heading {
    background-color: @brand-primary;
    color: #fff;
  }
  >.panel-body {
    background: @bg-color;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
  }
}

// 用于表单,如登录、注册
.panel-page {
  padding: 45px 50px 50px;
  min-height: 500px;
  @media (max-width: @screen-xs-max) {
    padding: 15px;
    min-height: 300px;
  }
  .panel-heading {
    background: transparent;
    border-bottom: none;
    margin: 0 0 30px 0;
    padding: 0;
    h2 {
      font-size: 25px;
      margin-top: 0;
    }
  }
}
